# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-ciso8601
pkgver=2.2.0
pkgrel=0
pkgdesc="Fast ISO8601 date time parser for Python written in C"
url="https://github.com/closeio/ciso8601"
license="MIT"
arch="all"
depends="python3"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-tz"
source="https://github.com/closeio/ciso8601/archive/v$pkgver/py3-ciso8601-$pkgver.tar.gz"
builddir="$srcdir/ciso8601-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root="$pkgdir" --skip-build
}

sha512sums="
a78a26bd60a64d31b896cf04650f0bbf3f38324f70572c8357f5d9146e12a9c0f150961f9df640665ee13521a265b49636a532e0b61ab4f394f08f8baafa211d  py3-ciso8601-2.2.0.tar.gz
"
